OTP\Handler\Forms\YourOwnForm A

Total Complexity 53
Dependencies 8
Dependents 0
Total lines 275
Lines of code 206
Logical lines of code 121
Comment lines 0
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
checkIntegrity()
S
58 5 16
_checkValidatedOnSubmit()
S
59 5 15
checkIntegrityAndValidateOTP()
S
55 4 20
handleFormOptions()
S
59 4 14
parseFormDetails()
S
59 4 13
handleForm()
S
55 3 19
_send_otp()
S
65 4 9
__construct()
S
54 2 20
getPhoneNumberSelector()
S
72 3 5
_processEmailAndSendOTP()
S
61 2 12
_processPhoneAndSendOTP()
S
62 2 11
mo_enqueue_form_script()
S
54 1 21
checkIfOTPSent()
S
69 2 7
handle_failed_verification()
S
72 2 5
handle_post_verification()
S
72 2 5
isPhoneEnabled()
S
79 2 3
getSubmitKeyDetails()
S
88 2 1
getFieldKeyDetails()
S
88 2 1
processFormAndValidateOTP()
S
75 1 5
unsetOTPSessionVariables()
S
76 1 4